package cn.sumpu.app.guoguojie.biz;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.AppActivity;
import cn.sumpu.app.guoguojie.domain.Ext.AppActivityExt;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface AppActivityBiz {
	public void insert(AppActivity appActivity) throws AppBusinessException;

	public void update(AppActivity appActivity) throws AppBusinessException;

	public AppActivityExt getAppActivityById(String identifier)
			throws AppBusinessException;

	public void deleteById(String identifier) throws AppBusinessException;

	public List<List<AppActivityExt>> getAppActivity(Map<String, Object> map)
			throws AppBusinessException;

	public List<AppActivityExt> getAllAppActivity(Map<String, Object> map)
			throws AppBusinessException;

	public int getAppActivityCount(Map<String, Object> map)
			throws AppBusinessException;

	public List<AppActivityExt> getMyFamilyAppActivity(Map<String, Object> map)
			throws AppBusinessException;

	public int getMyFamilyAppActivityCount(Map<String, Object> map)
			throws AppBusinessException;

	public List<AppActivityExt> getMyFamilyJoinAppActivity(
			Map<String, Object> map) throws AppBusinessException;

	public int getMyFamilyJoinAppActivityCount(Map<String, Object> map)
			throws AppBusinessException;

	public List<AppActivityExt> getRegisteredList(Map<String, Object> map)
			throws AppBusinessException;

	public int getRegisteredListCount(String activityId)
			throws AppBusinessException;
}
